//
//

package sqs

import ()

type Response struct {
	RequestId string `xml:"ResponseMetadata>RequestId"`
}

type CreateQueueResponse struct {
	Response
	Queue *Queue `xml:"CreateQueueResult>QueueUrl"`
}

type GetQueueUrlResponse struct {
	Response
	Queue *Queue `xml:"GetQueueUrlResult>QueueUrl"`
}

type GetQueueAttributesResponse struct {
	Response
	QueueAttributes []QueueAttribute `xml:"GetQueueAttributeResult"`
}

type ListQueuesResponse struct {
	Response
	Queues []*Queue `xml:"ListQueuesResult>QueueUrl"`
}

type ReceiveMessageResponse struct {
	Response
	Message Message `xml:"ReceiveMessageResult>Message"`
}

type SendMessageResponse struct {
    Response
    Message *Message `xml:"SendMessageResult"`
}

func (r *Response) String() string {
	return r.RequestId
}

// vim: fdm=syntax fdn=1
